package com.example.sunnyweather

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context

class SunnyWeatherApplication : Application() {
    // 手写自己的application，为了在非activity也获取到context这个上下文

    companion object{
        const val token_cytq = "MSy2ACl7dnYThif8"   //自行申请的token
        @SuppressLint("StaticFieldLeak")

        lateinit var context : Context
    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
    }


}